<?php
Class Contact extends MY_Controller{
	
	function __construct()
	{
		parent::__construct();
		$this->load->library('googlemaps');
		$config = array('center'=>"50.636947, 3.774273",'zoom'=>17,'map_height'=>'370','map_type'=>'ROADMAP','scrollwheel'=> false);
		
		$marker = array();
		$marker['position'] = "50.636847, 3.774273";
		$marker['title'] = "Ath Wok Time";
		$marker['icon'] = base_url('resources/fr/imgs/mapmarker.png');
		$marker['infowindow_content'] = "Ath Wok Time";
		
		$this->googlemaps->initialize($config);
		$this->googlemaps->add_marker($marker);
	}
	
	public function index()
	{
		$data['map'] = $this->googlemaps->create_map();
		$data['title'] =$this->title("contact");
		$this->load->view($this->theme.'/header',$data);
		$this->load->view($this->theme.'/contact');
		$this->load->view($this->theme.'/footer');
	}
	
}